﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

public class GlobalVariables
{
    private static String loginName = String.Empty;
    public static String loginId
    {
        get
        {
            if (loginName.Equals(String.Empty))
                loginName = System.Security.Principal.WindowsIdentity.GetCurrent().Name.ToString();
            return loginName;
        }
    }

    public static String errorMessage
    {
        get
        {
            return "Please send error details at flexipay.bugs@algosis.com.";
        }
    }
}
